package com.fuxian.dao.mybatisImpl;

import javax.annotation.Resource;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.stereotype.Repository;
import com.fuxian.dao.EventDao;
import com.fuxian.model.Event;

@Repository
public class EvenDaoMybatisImpl implements EventDao{

	@Resource
	private SqlSessionTemplate sqlSessionTemplate;
	

	public void addEvent(Event event) {
		sqlSessionTemplate.insert("insertEvent",event);
	}

}
